public class Test {
    public static void main(String[] args) {
        char ch1 = 'A';
        char ch2 = '中';//java用的是Unicode表示字符表示两个字节，可以表示中文

        System.out.println(ch1);
        System.out.println(ch2);

        System.out.println(Character.MAX_VALUE);
        System.out.println(Character.MIN_VALUE);

        char ch3 = 97;
        System.out.println(ch3);
    }
    public static void main6(String[] args) {
        float f = 12.5f;
        System.out.println(f);

        System.out.println(Float.MIN_VALUE);//科学计数法
        System.out.println(Float.MAX_VALUE);
    }

    public static void main5(String[] args) {
        double a = 1.0;
        double b = 2.0;
        System.out.println(a / b);//输出的结果也是double类型

        double num = 1.1;
        System.out.println(num * num);//数字的存储会有细微差别
    }

    public static void main4(String[] args) {
        double d = 12.5;
        System.out.println(d);

        System.out.println(Double.MIN_VALUE);//科学计数法
        System.out.println(Double.MAX_VALUE);
    }

    public static void main3(String[] args) {
        byte a = 10;
        System.out.println(a);

        System.out.println(Byte.MIN_VALUE);
        System.out.println(Byte.MAX_VALUE);
    }

    public static void main2(String[] args) {
        short a = 10;
        System.out.println(a);

        System.out.println(Short.MIN_VALUE);
        System.out.println(Short.MAX_VALUE);
    }

    public static void main1(String[] args) {
        long a = 10L;
        System.out.println(a);

        System.out.println(Long.MIN_VALUE);
        System.out.println(Long.MAX_VALUE);
    }
}